package com.tengju.bff.interfaces.app.charge.vo;

import com.tengju.bff.interfaces.shared.AmountType;
import com.tengju.bff.interfaces.shared.AmountVO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Collections;
import java.util.List;

/**
 * @author chenhang
 * @Date 2021/1/26
 */
@Data
public class MonthMarketAnalysisVO {

    @ApiModelProperty(value = "市场指数")
    private AmountVO marketIndex;

    @ApiModelProperty(value = "广告指数")
    private AmountVO adIndex;

    @ApiModelProperty(value = "品类分析")
    private List<MarketTypeVO> typeAnalysis;

    @ApiModelProperty(value = "市场占比分析")
    private List<MarketRateVO> rateAnalysis;

    public MonthMarketAnalysisVO() {
        this.adIndex = new AmountVO(AmountType.INDEX,0);
        this.marketIndex = new AmountVO(AmountType.INDEX,0);
        this.typeAnalysis = Collections.emptyList();
        this.rateAnalysis = Collections.emptyList();
    }
}
